package com.the4man.framework.model.gen;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by lenovo on 2017/12/11.
 */
public class RoomTypeExampleBase {
    protected String orderByClause;
    protected boolean distinct;
    protected List<Criteria> oredCriteria = new ArrayList();
    protected int limitStart = -1;
    protected int rowsPerPage = -1;

    public RoomTypeExampleBase() {
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return this.orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return this.distinct;
    }

    public List<RoomTypeExampleBase.Criteria> getOredCriteria() {
        return this.oredCriteria;
    }

    public void or(RoomTypeExampleBase.Criteria criteria) {
        this.oredCriteria.add(criteria);
    }

    public RoomTypeExampleBase.Criteria or() {
        RoomTypeExampleBase.Criteria criteria = this.createCriteriaInternal();
        this.oredCriteria.add(criteria);
        return criteria;
    }

    public RoomTypeExampleBase.Criteria createCriteria() {
        RoomTypeExampleBase.Criteria criteria = this.createCriteriaInternal();
        if(this.oredCriteria.size() == 0) {
            this.oredCriteria.add(criteria);
        }

        return criteria;
    }

    protected RoomTypeExampleBase.Criteria createCriteriaInternal() {
        RoomTypeExampleBase.Criteria criteria = new RoomTypeExampleBase.Criteria();
        return criteria;
    }

    public void clear() {
        this.oredCriteria.clear();
        this.orderByClause = null;
        this.distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart = limitStart;
    }

    public int getLimitStart() {
        return this.limitStart;
    }

    public void setRowsPerPage(int rowsPerPage) {
        this.rowsPerPage = rowsPerPage;
    }

    public int getRowsPerPage() {
        return this.rowsPerPage;
    }

    public static class Criteria extends RoomTypeExampleBase.GeneratedCriteria {
        protected Criteria() {
        }
    }

    public static class Criterion {
        private String condition;
        private Object value;
        private Object secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String typeHandler;

        public String getCondition() {
            return this.condition;
        }

        public Object getValue() {
            return this.value;
        }

        public Object getSecondValue() {
            return this.secondValue;
        }

        public boolean isNoValue() {
            return this.noValue;
        }

        public boolean isSingleValue() {
            return this.singleValue;
        }

        public boolean isBetweenValue() {
            return this.betweenValue;
        }

        public boolean isListValue() {
            return this.listValue;
        }

        public String getTypeHandler() {
            return this.typeHandler;
        }

        protected Criterion(String condition) {
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if(value instanceof List) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }

        }

        protected Criterion(String condition, Object value) {
            this(condition, value, (String)null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, (String)null);
        }
    }

    protected abstract static class GeneratedCriteria {
        protected List<RoomTypeExampleBase.Criterion> criteria = new ArrayList();

        protected GeneratedCriteria() {
        }

        public boolean isValid() {
            return this.criteria.size() > 0;
        }

        public List<RoomTypeExampleBase.Criterion> getAllCriteria() {
            return this.criteria;
        }

        public List<RoomTypeExampleBase.Criterion> getCriteria() {
            return this.criteria;
        }

        protected void addCriterion(String condition) {
            if(condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            } else {
                this.criteria.add(new RoomTypeExampleBase.Criterion(condition));
            }
        }

        protected void addCriterion(String condition, Object value, String property) {
            if(value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            } else {
                this.criteria.add(new RoomTypeExampleBase.Criterion(condition, value));
            }
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if(value1 != null && value2 != null) {
                this.criteria.add(new RoomTypeExampleBase.Criterion(condition, value1, value2));
            } else {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
        }

        public RoomTypeExampleBase.Criteria andIdIsNull() {
            this.addCriterion("id is null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdIsNotNull() {
            this.addCriterion("id is not null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdEqualTo(String value) {
            this.addCriterion("id =", value, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdNotEqualTo(String value) {
            this.addCriterion("id <>", value, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdGreaterThan(String value) {
            this.addCriterion("id >", value, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("id >=", value, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdLessThan(String value) {
            this.addCriterion("id <", value, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdLessThanOrEqualTo(String value) {
            this.addCriterion("id <=", value, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdLike(String value) {
            this.addCriterion("id like", value, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdNotLike(String value) {
            this.addCriterion("id not like", value, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdIn(List<String> values) {
            this.addCriterion("id in", values, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdNotIn(List<String> values) {
            this.addCriterion("id not in", values, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdBetween(String value1, String value2) {
            this.addCriterion("id between", value1, value2, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andIdNotBetween(String value1, String value2) {
            this.addCriterion("id not between", value1, value2, "id");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameIsNull() {
            this.addCriterion("name is null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameIsNotNull() {
            this.addCriterion("name is not null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameEqualTo(String value) {
            this.addCriterion("name =", value, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameNotEqualTo(String value) {
            this.addCriterion("name <>", value, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameGreaterThan(String value) {
            this.addCriterion("name >", value, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameGreaterThanOrEqualTo(String value) {
            this.addCriterion("name >=", value, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameLessThan(String value) {
            this.addCriterion("name <", value, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameLessThanOrEqualTo(String value) {
            this.addCriterion("name <=", value, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameLike(String value) {
            this.addCriterion("name like", value, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameNotLike(String value) {
            this.addCriterion("name not like", value, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameIn(List<String> values) {
            this.addCriterion("name in", values, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameNotIn(List<String> values) {
            this.addCriterion("name not in", values, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameBetween(String value1, String value2) {
            this.addCriterion("name between", value1, value2, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andNameNotBetween(String value1, String value2) {
            this.addCriterion("name not between", value1, value2, "name");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeIsNull() {
            this.addCriterion("type is null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeIsNotNull() {
            this.addCriterion("type is not null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeEqualTo(Integer value) {
            this.addCriterion("type =", value, "type");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeNotEqualTo(Integer value) {
            this.addCriterion("type <>", value, "type");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeGreaterThan(Integer value) {
            this.addCriterion("type >", value, "type");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            this.addCriterion("type >=", value, "type");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeLessThan(Integer value) {
            this.addCriterion("type <", value, "type");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeLessThanOrEqualTo(Integer value) {
            this.addCriterion("type <=", value, "type");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeIn(List<Integer> values) {
            this.addCriterion("type in", values, "type");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeNotIn(List<Integer> values) {
            this.addCriterion("type not in", values, "type");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeBetween(Integer value1, Integer value2) {
            this.addCriterion("type between", value1, value2, "type");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andTypeNotBetween(Integer value1, Integer value2) {
            this.addCriterion("type not between", value1, value2, "type");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumIsNull() {
            this.addCriterion("badnum is null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumIsNotNull() {
            this.addCriterion("badnum is not null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumEqualTo(Integer value) {
            this.addCriterion("badnum =", value, "badnum");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumNotEqualTo(Integer value) {
            this.addCriterion("badnum <>", value, "badnum");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumGreaterThan(Integer value) {
            this.addCriterion("badnum >", value, "badnum");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumGreaterThanOrEqualTo(Integer value) {
            this.addCriterion("badnum >=", value, "badnum");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumLessThan(Integer value) {
            this.addCriterion("badnum <", value, "badnum");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumLessThanOrEqualTo(Integer value) {
            this.addCriterion("badnum <=", value, "badnum");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumIn(List<Integer> values) {
            this.addCriterion("badnum in", values, "badnum");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumNotIn(List<Integer> values) {
            this.addCriterion("badnum not in", values, "badnum");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumBetween(Integer value1, Integer value2) {
            this.addCriterion("badnum between", value1, value2, "badnum");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andBadnumNotBetween(Integer value1, Integer value2) {
            this.addCriterion("badnum not between", value1, value2, "badnum");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeIsNull() {
            this.addCriterion("autoType is null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeIsNotNull() {
            this.addCriterion("autoType is not null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeEqualTo(Integer value) {
            this.addCriterion("autoType =", value, "autoType");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeNotEqualTo(Integer value) {
            this.addCriterion("autoType <>", value, "autoType");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeGreaterThan(Integer value) {
            this.addCriterion("autoType >", value, "autoType");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeGreaterThanOrEqualTo(Integer value) {
            this.addCriterion("autoType >=", value, "autoType");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeLessThan(Integer value) {
            this.addCriterion("autoType <", value, "autoType");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeLessThanOrEqualTo(Integer value) {
            this.addCriterion("autoType <=", value, "autoType");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeIn(List<Integer> values) {
            this.addCriterion("autoType in", values, "autoType");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeNotIn(List<Integer> values) {
            this.addCriterion("autoType not in", values, "autoType");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeBetween(Integer value1, Integer value2) {
            this.addCriterion("autoType between", value1, value2, "autoType");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andAutoTypeNotBetween(Integer value1, Integer value2) {
            this.addCriterion("autoType not between", value1, value2, "autoType");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeIsNull() {
            this.addCriterion("create_time is null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeIsNotNull() {
            this.addCriterion("create_time is not null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeEqualTo(Date value) {
            this.addCriterion("create_time =", value, "createTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeNotEqualTo(Date value) {
            this.addCriterion("create_time <>", value, "createTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeGreaterThan(Date value) {
            this.addCriterion("create_time >", value, "createTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            this.addCriterion("create_time >=", value, "createTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeLessThan(Date value) {
            this.addCriterion("create_time <", value, "createTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            this.addCriterion("create_time <=", value, "createTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeIn(List<Date> values) {
            this.addCriterion("create_time in", values, "createTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeNotIn(List<Date> values) {
            this.addCriterion("create_time not in", values, "createTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeBetween(Date value1, Date value2) {
            this.addCriterion("create_time between", value1, value2, "createTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            this.addCriterion("create_time not between", value1, value2, "createTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserIsNull() {
            this.addCriterion("create_user is null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserIsNotNull() {
            this.addCriterion("create_user is not null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserEqualTo(String value) {
            this.addCriterion("create_user =", value, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserNotEqualTo(String value) {
            this.addCriterion("create_user <>", value, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserGreaterThan(String value) {
            this.addCriterion("create_user >", value, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            this.addCriterion("create_user >=", value, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserLessThan(String value) {
            this.addCriterion("create_user <", value, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserLessThanOrEqualTo(String value) {
            this.addCriterion("create_user <=", value, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserLike(String value) {
            this.addCriterion("create_user like", value, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserNotLike(String value) {
            this.addCriterion("create_user not like", value, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserIn(List<String> values) {
            this.addCriterion("create_user in", values, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserNotIn(List<String> values) {
            this.addCriterion("create_user not in", values, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserBetween(String value1, String value2) {
            this.addCriterion("create_user between", value1, value2, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andCreateUserNotBetween(String value1, String value2) {
            this.addCriterion("create_user not between", value1, value2, "createUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeIsNull() {
            this.addCriterion("update_time is null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeIsNotNull() {
            this.addCriterion("update_time is not null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeEqualTo(Date value) {
            this.addCriterion("update_time =", value, "updateTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeNotEqualTo(Date value) {
            this.addCriterion("update_time <>", value, "updateTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeGreaterThan(Date value) {
            this.addCriterion("update_time >", value, "updateTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            this.addCriterion("update_time >=", value, "updateTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeLessThan(Date value) {
            this.addCriterion("update_time <", value, "updateTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            this.addCriterion("update_time <=", value, "updateTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeIn(List<Date> values) {
            this.addCriterion("update_time in", values, "updateTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeNotIn(List<Date> values) {
            this.addCriterion("update_time not in", values, "updateTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeBetween(Date value1, Date value2) {
            this.addCriterion("update_time between", value1, value2, "updateTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            this.addCriterion("update_time not between", value1, value2, "updateTime");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserIsNull() {
            this.addCriterion("update_user is null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserIsNotNull() {
            this.addCriterion("update_user is not null");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserEqualTo(String value) {
            this.addCriterion("update_user =", value, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserNotEqualTo(String value) {
            this.addCriterion("update_user <>", value, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserGreaterThan(String value) {
            this.addCriterion("update_user >", value, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            this.addCriterion("update_user >=", value, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserLessThan(String value) {
            this.addCriterion("update_user <", value, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserLessThanOrEqualTo(String value) {
            this.addCriterion("update_user <=", value, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserLike(String value) {
            this.addCriterion("update_user like", value, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserNotLike(String value) {
            this.addCriterion("update_user not like", value, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserIn(List<String> values) {
            this.addCriterion("update_user in", values, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserNotIn(List<String> values) {
            this.addCriterion("update_user not in", values, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserBetween(String value1, String value2) {
            this.addCriterion("update_user between", value1, value2, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }

        public RoomTypeExampleBase.Criteria andUpdateUserNotBetween(String value1, String value2) {
            this.addCriterion("update_user not between", value1, value2, "updateUser");
            return (RoomTypeExampleBase.Criteria)this;
        }
    }
}
